<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/5/27
  Time: 14:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8"/>
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" href="css/public.css"/>
    <link rel="stylesheet" type="text/css" href="css/mygrxx.css"/>
    <script src="js/jquery-1.12.4.min.js"></script>
    <script src="js/function3.js"></script>
    <style>
        .reg p .error{
            display:  inline-block;
            color: red;
            font-size: 15px;
            margin-left: 10px;
        }
    </style>
</head>
<body><!------------------------------head------------------------------>
<%@ include file="header1.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!------------------------------idea------------------------------>
<div class="address mt">
    <div class="wrapper clearfix"><a href="indexselect" class="fl">首页</a><span>/</span><a href="mygxinselect" class="on">个人信息</a>
    </div>
</div><!------------------------------Bott------------------------------>
<div class="Bott">
    <div class="wrapper clearfix">
        <div class="zuo fl">
            <h3><a href="#"><img width="80px" height="80px" src="image/headerphoto/${hp.user_filename}"/></a>${name.user_id}
                <p class="clearfix"><span class="fl">[${name.user_name}]</span><span class="fr"><a href="/lyq/admin/logout">[退出登录]</a></span></p></h3>
            <div><h4>我的交易</h4>
                <ul>
                    <li><a href="showcart">我的购物车</a></li>
                    <li><a href="myorderqselect">我的订单</a></li>
                    <li><a href="myprodselect">评价晒单</a></li>
                </ul>
                <h4>个人中心</h4>
                <ul>
                    <li><a href="mygxinselect">我的中心</a></li>
                    <li><a href="addressselect">地址管理</a></li>
                </ul>
                <h4>账户管理</h4>
                <ul>
                    <li><a href="mygrxxselect">个人信息</a></li>
                    <li class="on"><a href="remimaselect">修改密码</a></li>
                </ul>
            </div>
        </div>
        <div class="you fl"><h2>修改密码</h2>
            <form action="domimacheck" onsubmit="return checkForm(this)" method="post" class="remima">
                <p><span>选择验证身份方式：</span><input name="mima" checked="checked" type="checkbox"/>密码验证 <input name="email" type="checkbox"/>邮箱验证</p>
                <p><input type="hidden" name="name" value="${name.user_id}"></p>
                <p><span>原密码：</span><input onfocus="FocusItem(this)" onblur="CheckItem(this)" type="password" name="pass"/><span style="color: red"></span></p>
                <p class="op">输入原密码</p>
                <p><span>新密码：</span><input onfocus="FocusItem(this)" onblur="CheckItem(this)" type="password" name="newpass"/><span style="color: red"></span></p>
                <p class="op">6-15 个字符，需使用字母或数字</p>
                <p><span>重复新密码：</span><input onfocus="FocusItem(this)" onblur="CheckItem(this)" type="password" name="againpass"/><span style="color: red"></span></p>
                <p class="op">请再次输入密码</p>
                <p><span>验证码：</span>
                    <input class="code" onfocus="FocusItem(this)" onblur="CheckItem(this)" type="text" name="verycode" value="" onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="验证码">
                    <img style="position: relative;height: 40px;top: 14px;top: -3px;" src="${pageContext.request.contextPath}/getCode" alt="看不清，换一张" onclick="change(this)"><span style="color: red"></span>
                </p>
                <p class="op">按右图输入验证码</p>
                <input type="submit" value="提交"/></form>
        </div>
    </div>
</div>
<script>
    function change(img) {
        img.src="${pageContext.request.contextPath}/getCode?"+new Date().getTime();
    }
</script>
<!--返回顶部-->
<div class="gotop"><a href="showcart">
    <dl>
        <dt><img src="img/gt1.png"/></dt>
        <dd>去购<br/>物车</dd>f
    </dl>
</a><a href="#" class="dh">
    <dl>
        <dt><img src="img/gt2.png"/></dt>
        <dd>联系<br/>客服</dd>
    </dl>
</a><a href="mygxinselect">
    <dl>
        <dt><img src="img/gt3.png"/></dt>
        <dd>个人<br/>中心</dd>
    </dl>
</a><a href="#" class="toptop" style="display: none">
    <dl>
        <dt><img src="img/gt4.png"/></dt>
        <dd>返回<br/>顶部</dd>
    </dl>
</a>
    <p>400-800-8200</p></div><!--footer-->
<div class="footer">
    <div class="top">
        <div class="wrapper">
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot1.png"/></a><span class="fl">7天无理由退货</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot2.png"/></a><span class="fl">15天免费换货</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot3.png"/></a><span class="fl">满599包邮</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot4.png"/></a><span class="fl">手机特色服务</span>
            </div>
        </div>
    </div>
    <p class="dibu">最家家居&copy;2013-2017公司版权所有 京ICP备080100-44备0000111000号<br/>
        违法和不良信息举报电话：400-800-8200，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试</p></div>
<script src="js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>